<template>
    <div class="modal fade" id="modal-container-delete-equipment" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button id="closeLicenseCreate" type="button" class="close" data-dismiss="modal">
                        <span aria-hidden="true">×</span>
                    </button>
                    <h4 class="modal-title" id="myModalLabel">确认删除设备？</h4>
                </div>
                <div class="modal-body">
                    <el-form :model="form" :rules="rules" ref="form" label-width="125px" v-loading="loading">
                        <input id="equipment_delete_id" v-model="form.id" type="hidden"></input>
                        <el-form-item>
                            <el-button type="primary" @click="onConfirm">确定</el-button>
                            <el-button data-dismiss="modal">取消</el-button>
                        </el-form-item>
                    </el-form>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
    export default {
        data() {
            return {
                form: {
                    id: ''
                },
                loading: false,
            };
        },
        methods: {
            onConfirm:function () {
                alert("删除成功");
            }
        }
    }
</script>
